package chris;

import com.rabbitmq.client.ConnectionFactory;

/**
 * ConFactory
 *
 * @author nanxin.chen
 * @since 2017/7/5
 */
public class ConFactory {

    public static ConnectionFactory getConnectionFactory() {
        ConnectionFactory cf = new ConnectionFactory();
        cf.setHost("10.125.48.76");
        cf.setPort(5672);
        cf.setUsername("chris");
        cf.setPassword("chris");
        cf.setVirtualHost("/");
        return cf;
    }
}
